package org.tuling.tlmallorder.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.tuling.tlmallcommon.Result;
import org.tuling.tlmallorder.feign.dto.StorageDTO;

@FeignClient(name = "tlmall-storage")
public interface StorageServiceFeignClient {

	@PostMapping("/storage/reduce-stock")
    Result<?> reduceStock(@RequestBody StorageDTO productReduceStockDTO);

}
